package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbNewsPraise;
import com.quanyan.user.model.db.TbNewsPraiseExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbNewsPraiseMapper {
    int countByExample(TbNewsPraiseExample example);

    int deleteByExample(TbNewsPraiseExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbNewsPraise record);

    int insertSelective(TbNewsPraise record);

    List<TbNewsPraise> selectByExample(TbNewsPraiseExample example);

    TbNewsPraise selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbNewsPraise record, @Param("example") TbNewsPraiseExample example);

    int updateByExample(@Param("record") TbNewsPraise record, @Param("example") TbNewsPraiseExample example);

    int updateByPrimaryKeySelective(TbNewsPraise record);

    int updateByPrimaryKey(TbNewsPraise record);
}